#include "Datatype.h"


// main.c
int    Solver_id, file_number;
MPI_Errhandler errhdl;
int    myrank, sum_rank;
double duration, starttime, endtime;

// step 1
int rows_average, nrows;
int ilower, iupper, jlower, jupper;
HYPRE_IJMatrix A;
HYPRE_IJVector b, x;

// step 2
int *length_cols, *num_cols;
int k, m1, m2;
int *ncols, *rows, *cols;
int num;
double *A_value, *b_value;

// Read_Data.c
int    Data_length, Matrix_size;
int    c;
char   filename[100];
FILE   *p;
int    *Data_I, *Data_J;
double *Data_A_Value, *Data_b_Value;
int    i;

// Result.c
double *gather_x;
int    *counts;
int    *disp;
FILE   *PlotFile;
